package com.nwpu.am.pojo.dto;

import com.nwpu.am.annotation.Probability;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * RuleDTO
 *
 * @author Roy
 * @version 1.0
 * {@code @date} 2024/6/6
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("推理规则数据传输对象")
public class RuleDTO {
    @NotNull
    private Long premiseKnowledgeId;
    @NotNull
    private Long conclusionKnowledgeId;
    @NotNull
    @Probability
    private Integer probability;
}
